<!doctype html>
<html lang="zh-Hans">

<head>
    <meta charset="utf-8">
    <meta name="author" content="Fresns" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="Bootstrap 5">
    <title>Fresns 控制面板基础版</title>
    <link rel="stylesheet" href="../assets/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/bootstrap-icons.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    <header>
        <nav class="navbar navbar-light bg-light shadow-sm">
            <div class="container-lg">
                <a class="navbar-brand" href="index.html"><i class="bi bi-gear"></i> 控制面板 <span class="badge bg-secondary fs-9">基础版</span></a>
                <ul class="navbar-nav me-auto d-flex flex-row flex-wrap">
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="policies.html">协议设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="sites.html">站点设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="sends.html">发信设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link" href="storage-images.html">存储设置</a></li>
                    <li class="mx-2 mx-lg-3"><a class="nav-link active" href="filters.html">过滤配置</a></li>
                </ul>
                </div>
            </div>
        </nav>
    </header>

    <main>
        <div class="container-lg p-0 p-lg-3">
            <div class="bg-body shadow-sm mt-3 p-4 p-lg-5">
                <!--操作列表-->
                <div class="table-responsive">
                    <table class="table table-hover align-middle text-nowrap fresns-link">
                        <thead>
                            <tr class="table-info">
                                <th scope="col">处理词 <button type="button" class="btn btn-primary btn-sm" data-bs-toggle="modal" data-bs-target="#createModal"><i class="bi bi-plus-circle"></i> 新增</button></th>
                                <th scope="col">内容处理方式（帖子和评论）</th>
                                <th scope="col">用户处理方式（昵称和签名）</th>
                                <th scope="col">消息处理方式（会话私信）</th>
                                <th scope="col">处理词替换词</th>
                                <th scope="col">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td><input type="text" class="form-control" disabled value="广告"></td>
                                <td>自动替换</td>
                                <td>不处理</td>
                                <td>不处理</td>
                                <td><input type="text" class="form-control" disabled value="广广"></td>
                                <td>
                                    <button type="button" class="btn btn-outline-primary btn-sm">修改</button>
                                    <a href="#" class="link-danger ms-2 fs-7">删除</a>
                                </td>
                            </tr>
                            <tr>
                                <td><input type="text" class="form-control" disabled value="代开发票"></td>
                                <td>禁止发表</td>
                                <td>禁止通过</td>
                                <td>不处理</td>
                                <td><input type="text" class="form-control" disabled value="**"></td>
                                <td>
                                    <button type="button" class="btn btn-outline-primary btn-sm">修改</button>
                                    <a href="#" class="link-danger ms-2 fs-7">删除</a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <!--操作列表 结束-->
            </div>
        </div>
    </main>

    <footer>
        <div class="copyright text-center">
            <p class="mt-5 mb-5 text-muted">&copy; 2021 Fresns</p>
        </div>
    </footer>

    <!-- Modal -->
    <div class="modal fade" id="createModal" tabindex="-1" aria-labelledby="createModal" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title">新建处理词</h5>
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                </div>
                <div class="modal-body">
                    <form>
                        <div class="input-group mb-3">
                            <span class="input-group-text">处理词</span>
                            <input type="text" class="form-control">
                        </div>
                        <div class="input-group mb-3">
                            <span class="input-group-text">替换词</span>
                            <input type="text" class="form-control">
                        </div>
                        <div class="input-group mb-3">
                            <label class="input-group-text">内容处理方式</label>
                            <select class="form-select" aria-label="Default select example">
                                <option value="1" selected>不处理</option>
                                <option value="2">自动替换</option>
                                <option value="3">禁止发表</option>
                                <option value="4">内容需审核</option>
                            </select>
                        </div>
                        <div class="input-group mb-3">
                            <label class="input-group-text">用户处理方式</label>
                            <select class="form-select" aria-label="Default select example">
                                <option value="1" selected>不处理</option>
                                <option value="2">自动替换</option>
                                <option value="3">禁止发表</option>
                                <option value="4">内容需审核</option>
                            </select>
                        </div>
                        <div class="input-group mb-3">
                            <label class="input-group-text">消息处理方式</label>
                            <select class="form-select" aria-label="Default select example">
                                <option value="1" selected>不处理</option>
                                <option value="2">自动替换</option>
                                <option value="3">禁止发表</option>
                                <option value="4">内容需审核</option>
                            </select>
                        </div>
                        <button type="submit" class="btn btn-primary">确认提交</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <script src="../assets/javascript/bootstrap.bundle.min.js"></script>
    <script src="../assets/javascript/admin.js"></script>
</body>

</html>